package com.example.yangjintingtest.mapper;


import com.example.yangjintingtest.domain.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
//    @Insert("INSERT INTO t_user(id,user_name,pwd) values (#{id},#{userName},#{pwd})")
    public int insertAdduser(User user);
//    @Select("SELECT * FROM t_user WHERE id =#{id}")
    public User findById(Integer id);

    public User userLogin(User user);

    public int insertUser(User tUser);
}
